package com.kyivmohyla.kma2.dao;

import com.kyivmohyla.kma2.model.Staff;
import org.springframework.dao.DataAccessException;

import java.util.List;

public interface StaffDao extends Dao<Staff> {
    public Staff getByEmailPassword(String email, String password) throws DataAccessException;

    public Staff getByEmail(String email) throws DataAccessException;

    public List<Staff> getAllEngineers() throws DataAccessException;
}
